home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 4
/
The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO
/
clang
/
cenvid.zip
/
DOSTIME.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-04-11
|
400b
|
19 lines
@echo off
REM DosTime - CEnvi example program for showing the Dos system time
cenvi %0.bat
GOTO CENVI_EXIT
printf("Displaying DOS system time; press any key to end:\n")
while( !kbhit() ) {
reg.ah = 0x2C
interrupt(0x21,reg)
printf("\r%2d:%02d:%02d.%02d",reg.ch,reg.cl,reg.dh,reg.dl)
}
while( kbhit() ) getch() // flush keyboard buffer
printf("\n")
:CENVI_EXIT